<?php
/**
 * admin service file Created by PhpStorm.
 * User: wumengmeng
 * Date: 2019/09/04
 * Time: 17:52
 */
 
namespace Modules\Admin\Service;

use HiCommon\Repository\CheckpointMakeDateRepository;

class CheckpointMakeDateService
{

    /**
     * 获取分页数据-条件门店id
     *
     * @param $arr_where
     *
     * @return array
     * @author wumengmeng <wu_mengmeng@foxmail.com>
     */
    public function get_list_by_shopid($arr_where)
    {
        $arr_option = [
          'order'=>['key'=>'day','value'=>'desc'],
          'where'=>$arr_where
        ];
        $data = CheckpointMakeDateRepository::get_list_common($arr_option);
        $data = list_page_data($data);
        return  hello_success('成功',$data);

    }

}